<?php

defined('_JEXEC') or die('Restricted access');
?>
<form action="<?php echo JRoute::_('index.php?option=com_console&layout=edit&id=' . (int)$this->item->id) ?>"
      method="post" id="adminForm" name="adminForm">
    <div class="form-horizontal">
        <fieldset class="adminform">
            <legend><?php echo 'Configuration item setting' ?></legend>
            <div class="row-fluid">
                <div class="span6">
                    <?php foreach ($this->form->getFieldSet() as $field): ?>
                    <div class="control-group">
                        <div class="control-label"><?php echo $field->label ?></div>
                        <div class="controls"><?php echo $field->input ?></div>
                    </div>
                    <?php endforeach; ?>
                </div>
            </div>
        </fieldset>
    </div>
    <input type="hidden" name="task" value="setting.edit"/>
    <?php echo JHtml::_('form.token') ?>
</form>
